<?php

namespace app\model;

use think\Db;
use think\Model;

class {tblName} extends Model
{

    /// 如需要直接使用db对象
    public function [tblName]list($cond){
        /* {strNames} */
        $data=$this->where($cond)->select();
        return $data;
    }

}
